﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Resn.WhuPub.DML;

namespace Resn.WhuPub.BIL
{
        /// <summary>
        /// 
        /// </summary>
        public interface IEntity : IIdentity
        {
                /// <summary>
                /// 添加对象到数据库
                /// </summary>
                void Insert();

                /// <summary>
                /// 删除对象从数据库
                /// </summary>
                void Delete();

                /// <summary>
                /// 更新对象到数据库
                /// </summary>
                void Update();
        }
}
